package com.hr.checkrepetition.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ArticleCheckListVo implements Serializable {


    @ApiModelProperty(value = "正在查重列表")
    private List<PostCheckScopeVo> proceedList;

    @ApiModelProperty(value = "完成查重列表")
    private List<PostCheckScopeVo> completeList;


    @Data
    @Accessors(chain = true)
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class PostCheckScopeVo{

        @ApiModelProperty(value = "已查重id,只有完成查重列表不会为空")
        private Integer postCheckId;

        @ApiModelProperty(value = "检测内容标题")
        private String checkTitle;

        @ApiModelProperty(value = "完成时间")
        private Date completeTime;

        @ApiModelProperty(value = "查重率")
        private BigDecimal checkRate;

    }
}
